import { IMessageBase } from "../../Framework/MQ/IMessageBase";
import { MessageManager } from "../../Framework/MQ/MessageManager";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { MapEquipScoreHelper } from "./MapEquipScoreHelper";
import { SeqEquipScoreRemoveHelper } from "./SeqEquipScoreRemoveHelper";
type int = number;
//class SEquipScoreMap
    
    export  class SEquipScoreMap extends IMessageBase
    {
        constructor(arg1: Boolean=false)
        {
            
            super();if (arg1) 
            {
                MessageManager.instance().regist(this);
            }
            return;
        }

        public /* override */ getType(): int
        {
            return this._type;
        }

        public /* override */ clone(): IMessageBase
        {
            return new SEquipScoreMap();
        }

        public /* override */ __write(arg1: SerializeStream): void
        {
            MapEquipScoreHelper.write(arg1, this.scoresMap);
            SeqEquipScoreRemoveHelper.write(arg1, this.removeUids);
            return;
        }

        public /* override */ __read(arg1: SerializeStream): void
        {
            this.scoresMap = MapEquipScoreHelper.read(arg1);
            this.removeUids = SeqEquipScoreRemoveHelper.read(arg1);
            return;
        }

        public /* const */_type: int=12246;

        public /* var */scoresMap: Map<any, any> /* flash.utils.Dictionary */;

        public /* var */removeUids: Array<any>;

        public static /* var */_regist: SEquipScoreMap;
    }

            SEquipScoreMap._regist = new SEquipScoreMap(true);
        